const http = require('http');
const port = 9999;
http
    .createServer(function (req, res) {
        res.writeHead(200,{'Content-type':'text/plain'});
        res.write('Hello node.js');
        res.end();
       
    })
    .listen(port);